
*{
    margin:0;
}

.wrapper{
    display: flex;
    align-items:center;
    position: absolute;
    height: 100%;
    width: 100%; 
    background-color: #494a5f;
}

.calculate{
    width: 294px;
    padding: 12px;
    background-color: #cfd8dc;
    border: 1px solid #cfd8dc;
    margin:auto;
}

.form input{
    text-align: right;
    border:none;
    width: 262px;
    height: 34px;
    padding: 8px 16px;
    font-size: 20px;
    font-weight: 500;
    background-color: #eceff1;
}

.form #input{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.form #output{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.buttons ul{
    padding:0;
    margin-top:10px;
    width:294px;
    height:350px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-content:space-between;
    flex-wrap:wrap;
}

.buttons button{
    border-radius: 5px;
    width: 65px;
    height: 45px;
    line-height: 45px;
}

.buttons .col{
    font-size: 20px;
    border:none;
    outline:none;
}

.buttons .sign{
    font-size: 25px;
    background-color:#546e7a;
    color: #fff;
    border-bottom:5px solid #3f525a;
}

.buttons .sign:hover{
    background-color: #455a64;
    border-color: #37474f;
}

.buttons .sign:active{
    background-color: #37474f;
    border-color: #37474f;
}

.buttons .cancel{
    background-color: #f44336;
    color: #fff;
    border-bottom: 5px solid #c2160a;
}

.buttons .cancel:hover{
    background-color: #e53935;
    border-color: #d32f2f;
}

.buttons .cancel:active{
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.buttons .del{
    background-color: #ff9800;
    color: #fff;
    border-bottom: 5px solid #cc7a00;
}

.buttons .del:hover{
    background-color: #fb8c00;
    border-color: #f57c00;
}

.buttons .del:active{
    background-color: #f57c00;
    border-color: #f57c00;
}

.buttons .result{
    font-size: 30px;
    background-color: #4caf50;
    color: #fff;
    border-bottom: 5px solid #3e8e41;
}

.buttons .result:hover{
    background-color: #43a047;
    border-color: #388e3c;
}

.buttons .result:active{
    background-color: #388e3c;
    border-color: #388e3c;
}

.buttons .num{
    background-color: #90a4ae;
    color: #000;
    border-bottom: 5px solid #6b8694;
}

.buttons .num:hover{
    background-color: #78909c;
    border-color: #607d8b;
}

.buttons .num:active{
    background-color: #607d8b;
    background-color: #607d8b;
}